package com.stj.entity;

public class User {
    private int id;
    private String  userName;
    private String  password;
    private String profile;
    private String nickName;
    private String sign;
    private String imageName;


    public User() {}

    public User(int id, String userName, String password, String profile, String nickName, String sign, String imageName) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.profile = profile;
        this.nickName = nickName;
        this.sign = sign;
        this.imageName = imageName;
    }

    public User(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public int getId() {return id;}

    public void setId(int id) { this.id = id;}

    public String getUserName() {return userName;}

    public void setUserName(String userName) {this.userName = userName; }

    public String getPassword() {return password;}

    public void setPassword(String password) {this.password = password;}

    public String getProfile() {return profile;}

    public void setProfile(String profile) {this.profile = profile; }

    public String getNickName() { return nickName;}

    public void setNickName(String nickName) {this.nickName = nickName;}

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
